<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html,
        body {
            margin: 0;
            height: 100%;
        }
    </style>
    <link rel="stylesheet" href="http://unpkg.com/jest-lite@1.0.0-alpha.4/dist/prettify.css" />
</head>

<body>

    <div id='app'>
        <div class="headers">
            <div v-for='(item,index) in shop' :key='item.name'>
                <h1 :id='"test-"+index'> {{item.name}}</h1>
            </div>
        </div>
        <!-- 嵌套测试 -->
        <div class="name1">
            <div class="name2">
                <div class="name3">
                    <div class="name4">这是第三层</div>
                </div>
            </div>
        </div>
    </div>
</body>

<script src="https://unpkg.com/react@16/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script>
<script src="http://unpkg.com/jest-lite@1.0.0-alpha.4/dist/core.js"></script>
<script src="http://unpkg.com/jest-lite@1.0.0-alpha.4/dist/enzyme.js"></script>
<script src="http://unpkg.com/jest-lite@1.0.0-alpha.4/dist/prettify.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script type="module" src="./test/browser/index.js"></script>

</html>